#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;

namespace MM
{
    public class ShortcutKeysTool
    {
        [MenuItem("GameObject/ShortcutKeys/CopyPath &C")]
        public static void CopyPath()
        {
            var targetObj = Selection.activeObject;
            var path = AssetDatabase.GetAssetPath(targetObj);
            path = System.Text.RegularExpressions.Regex.Replace(path, "Assets/Resources/", "");
            GUIUtility.systemCopyBuffer = path;

        }
    }
}
#endif